<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="T" %>
<%@taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="ft"%>
<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<link href="css/bootstrap.min.css" type="text/css" rel="stylesheet" />
		
	</head>
	<body>
		<form class="form-horizontal" action="updateEmp" method="post"  style="width: 800px;margin: 60px auto">
							<div class="form-group">
								<label class="col-sm-4 control-label">员工名称：</label>
								<div class="col-sm-6">
									<input type="text" class="form-control"  required="required" name="ename" value="${emp.ename}">
								
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-4 control-label">职位：</label>
								<div class="col-sm-6 ">
									<input type="text" class="form-control"  required="required" name="job" value="${emp.job}">
								
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-4 control-label">上级：</label>
								<div class="col-sm-6 ">
									<input type="text" class="form-control"  required="required" name="mgr" value="${emp.mgr}">
								
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-4 control-label">入职时间：</label>
								<div class="col-sm-6 ">
									<input type="text" class="form-control"  required="required" name="hiredate" value="<ft:formatDate value="${emp.hiredate}" pattern="yyyy-MM-dd"></ft:formatDate>">
								
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-4 control-label">工资：</label>
								<div class="col-sm-6 ">
									<input type="text" class="form-control"  required="required" name="sal" value="${emp.sal}">
								
								</div>
							</div>
							
							<div class="form-group">
								<label class="col-sm-4 control-label">绩效：</label>
								<div class="col-sm-6 ">
									<input type="text" class="form-control"  required="required" name="comm" value="${emp.comm}">
								
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-4 control-label">所属部门：</label>
								<div class="col-sm-6 ">
									<input type="text" class="form-control"  required="required" name="deptno" value="${emp.deptno}">
								
								</div>
							</div>
			
					
							<div class="form-group">
								<label class="col-sm-4 control-label"></label>
								<div class="col-sm-6">
								     <input type="hidden" name="empno" value="${emp.empno}"/>
									     	<input type="submit" class="btn btn-info" value="保存"/>
									    	<input type="reset" class="btn btn-info" value="取消"/>
								
								</div> 
							</div>
						</form>
		<script src="js/jquery-1.12.3.min.js" type="text/javascript"></script>
		<script src="js/bootstrap.min.js" type="text/javascript"></script>
	</body>
</html>

